import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { NgxMetroModule  } from 'ngx-metro';
import { WelcomeComponent } from './welcome/welcome.component';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { BlogModule } from './blog/blog.module';
import { AdminModule } from './admin/admin.module';

@NgModule({ declarations: [
        AppComponent,
        WelcomeComponent
    ],
    bootstrap: [AppComponent], imports: [BrowserModule,
        AppRoutingModule,
        NgxMetroModule,
        BlogModule,
        AdminModule], providers: [provideHttpClient(withInterceptorsFromDi())] })
export class AppModule { }
